package com.cxy.instarsystem.dao;


import com.cxy.instarsystem.po.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserRepository extends JpaRepository<User, Long> {

    User findByUsername(String username);

    User findByUsernameAndPassword(String username,String password);
}
